
import request from './request'

//登陆请求/open/register
export const GetLogon=(params)=>request.post("/login",params)
//发货单全部页面请求/order/v1/list
export const orderData=(params)=>request.get("/order/v1/list",{params})
//发货单待发货请求/order/v1/list/1
export const orderFhData=(params)=>request.get("/order/v1/list/1",{params})
//发货单待收货请求/order/v1/list/2
export const orderHhData=(params)=>request.get("/order/v1/list/2",{params})
//发货单评价请求 /order/v1/list/3
export const orderPlData=(params)=>request.get("/order/v1/list/3",{params})
//发货单查看评论
export const evaluateInfoData=(params)=>request.get("/order/v1/evaluateInfo/"+params.serialNo)
//发货单确认发货 /order/v1/send
export const sendData=(params)=>request.post("/order/v1/send",params)
//发货单订单评价 /order/v1/evaluate
export const evaluatekkData=(params)=>request.post("/order/v1/evaluate",params)
//信息心中，全部信息https://www.ahsj.link/nebula-api/api/message
export const messageData=(params)=>request.get("/api/message",{params})
//消息中心详情
export const messagetypeData=(params)=>request.get("/api/message",{params})
//个人中心用户信息展示
export const userListData=()=>request.get("/users/list")
//个人中心用户信息详情
export const userInfoData=()=>request.get("/users/info")
//个人中心版本
export const userversionData=()=>request.get("/users/version")
//物流单列表https://www.ahsj.link/nebula-api/api/star
export const starData=(params)=>request.get("/api/star",{params})
//查询物流单评价详情查询物流单评价详情
export const staridData=(params)=>request.get("/api/star/"+params.id)
//物流单评价https://www.ahsj.link/nebula-api/api/star
export const starputData=(params)=>request.put("/api/star/",params)
//客户列表信息
//https://www.ahsj.link/nebula-api/api/cust
export const CustuserData=(params)=>request.get("/api/cust",{params})
//获取获取客户视图
//https://www.ahsj.link/nebula-api/api/cust/{id}
export const CustidData=(params)=>request.post("/api/cust/"+params.id)
//获取客户信息详情
//：https://www.ahsj.link/nebula-api/api/cust/{id}
export const CustgetidData=(params)=>request.get("/api/cust/"+params.id)
//：修改客户信息
//：https://www.ahsj.link/nebula-api/api/cust
export const CustxgzlData=(params)=>request.put("/api/cust",params)
//新增客户信息
//：https://www.ahsj.link/nebula-api/api/cust
export const CustpostData=(params)=>request.post("/api/cust",params)
//走访列表信息
//https://www.ahsj.link/nebula-api/api/visit
export const VisitData=(params)=>request.get("/api/visit",{params})
//客户列表信息
//https://www.ahsj.link/nebula-api/api/cust